import HYRequest from "../request/index.js";

export function getHomeHotSuggests() {
    return HYRequest.get({ url: "/home/hotSuggests" });
}

export function getCategories() {
    return HYRequest.get({ url: "home/categories" })
}

export function getHoustLists(page) {
    return HYRequest.get(
        {
            url: 'home/houseList',
            params: {
                page: page
            }
        }
    )
}